package org.blueforce.common.search;

public class Order {
	private String columnName;
	private boolean ascending = true;

	private Order(String columnName, boolean ascending) {
		this.columnName = columnName;
		this.ascending  = ascending;
	}
	
	public static Order asc(String columnName) {
		return new Order(columnName, true);
	} 
	
	public static Order desc(String columnName) {
		return new Order(columnName, true);
	}
}
